package com.jbl.te.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DepartmentVo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "外键 学院编号")
    private String collegeId;

    @ApiModelProperty(value = "学院名")
    private String collegeName;

    @ApiModelProperty(value = "系名")
    private String name;

    @ApiModelProperty(value = "系介绍")
    private String introduction;

    @JsonFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @JsonFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;
}
